from django.urls import path, re_path
from myapp import views

urlpatterns = [
    path('', views.IndexView.as_view()),
    path('movie/add/', views.MovieAddview.as_view()),
    path('movies/', views.MovieListView.as_view()),
    path('actors/', views.ActorListView.as_view()),
    path('actor/', views.ActorView.as_view()),
    path('actor/add/', views.ActorAddView.as_view()),
    path('movie/', views.MovieView.as_view()),
]
